from django.urls import path
from message.views import MessageGetView, MessagePostView

urlpatterns = [
    path('post/<int:user_id>/', MessagePostView.as_view()),   # POST: 发送消息
    path('get/<str:room_id>/', MessageGetView.as_view()),   # GET: 获取房间消息
]